<template>
    <div class="detail">
        <img class="detail-picture" :src="sampleCodePath" />
    </div>
</template>

<script>

export default {
    props: {
        data: {
            type: Object,
            default: () => {}
        }
    },
    watch: {
        data(row) {
            this.sampleCodePath = row['sampleCodePath']
        }
    },
    data() {
        return {
            sampleCodePath: ''
        }
    }
}
</script>

<style lang="scss" scoped>
.detail {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 40px;
    padding-right: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    &-picture {
        display: inline-block;
        width: 250px;
        height: 250px;
    }
}
</style>
